/**
 * 工资预警管理
 */
import Layout from '@/layout'

const salaryWarnManagement = {
  path: '/salaryWarnManagement',
  component: Layout,
  redirect: '/salaryWarnManagement/warningSet',
  name: 'salaryWarnManagement',
  meta: {
    title: '工资预警管理（开发中）',
    icon: 'el-icon-s-flag',
    roles: ['admin', 'editor'] // you can set roles in root nav
  },
  children: [
    {
      path: 'warningSet',
      component: () => import('@/views/salaryWarnManagement/warningSet'),
      name: 'warningSet',
      meta: {
        title: '预警设置（开发中）',
        icon: 'el-icon-s-flag',
        roles: ['admin', 'editor'] // or you can only set roles in sub nav
      }
    },
    {
      path: 'salaryWarnQuery',
      component: () => import('@/views/salaryWarnManagement/salaryWarnQuery'),
      name: 'salaryWarnQuery',
      meta: {
        title: '工资预警查询（开发中）',
        icon: 'el-icon-s-flag',
        roles: ['admin', 'editor'] // or you can only set roles in sub nav
      }
    }
  ]
}

export default salaryWarnManagement
